<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title;?></title>
<?php echo $header;?>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="table_top_left" width="17" valign="top"></td>
		<td class="table_top_middle" valign="top"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
				<tr>
					<td height="31" align="left"><div class="titlebt"><?php echo $page_label;?></div></td>
				</tr>
			</table></td>
		<td class="table_top_right" width="16" valign="top"></td>
	</tr>
	<tr>
		<td class="table_left_side" height="71" valign="middle"></td>
		<td valign="top" bgcolor="#F7F8F9"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
								<td align="left" class="left_txt"><?php echo $nav_label,$title;?></td>
							</tr>
							<tr>
								<td ><form id="f_ad_place" name="f_ad_place" method="post" action="<?php echo base_url('ad/place_add_action');?>">
										<table width="100%" class="list" cellpadding="0" style="border-collapse: collapse" border="1" bordercolor="#BFC4CA">
											<tr>
												<th colspan="2" height="25" bgcolor="#EEF2FB"><?php echo $title;?></th>
											</tr>
											<tr>
												<td width="18%" height="25" align="right"><?php echo lang('ad_place');?></td>
												<td width="83%" height="25" align="left"><input name="place" type="text" id="place" size="30" maxlength="20" />
												<span class="tip">*<?php printf(lang('com_tip_word_limit'), 20);?></span></td>
											</tr>
											<tr>
												<td height="25" align="right"><?php echo lang('ad_explain');?></td>
												<td height="25" align="left"><input name="explain" type="text" id="explain" value="" size="50" maxlength="100" />
												<span class="tip"><?php printf(lang('com_tip_word_limit'), 100);?></span></td>
											</tr>
											<tr>
												<td align="right" height="25"><?php echo lang('ad_price');?></td>
												<td height="25" align="left"><input name="price" type="text" id="price" size="20" maxlength="10" />
												<span class="tip">*<?php echo lang('ad_tip_price');?></span></td>
											</tr>
											<tr>
												<td align="right" height="25"><?php echo lang('ad_size');?></td>
												<td height="25" align="left">													<span class="tip">
													<input name="height" type="text" id="height" size="10" maxlength="8" />
												</span>X <span class="tip">
												<input name="width" type="text" id="width" size="10" maxlength="8" />
														*<?php echo lang('ad_tip_size');?></span></td>
											</tr>
											<tr>
												<td align="right"><?php echo lang('ad_isactive');?> </td>
												<td align="left"><input name="isactive" type="radio" value="1" checked="checked"/>
													<?php echo lang('ad_isactive_1');?>
													<input type="radio" name="isactive" value="0" />
													<?php echo lang('ad_isactive_0');?>&nbsp;<span class="tip">*</span></td>
											</tr>
											<tr>
												<td align="right"><?php echo lang('ad_display_style');?></td>
												<td align="left"><input name="displaystyle" type="radio" value="latest" checked="checked" />
													<?php echo lang('ad_display_latest');?>
													<input type="radio" name="displaystyle" value="random" />
													<?php echo lang('ad_display_random');?>&nbsp;<span class="tip">*<?php echo lang('ad_tip_display');?></span></td>
											</tr>
											<tr>
												<td align="right"><?php echo lang('com_remark');?></td>
												<td align="left"><input name="remark" type="text" id="remark" size="30" maxlength="20" />
												<span class="tip"><?php printf(lang('com_tip_admin_visible'), 20);?></span></td>
											</tr>
											<tr>
												<td colspan="2" height="25"><input name="s_ad_place_add" type="submit" class="button" id="s_ad_place_add" value="<?php echo lang('com_button_submit');?>" />
												<input name="Submit2" type="reset" class="button" value="<?php echo lang('com_button_reset');?>" /></td>
											</tr>
										</table>
								</form></td>
							</tr>
						</table></td>
				</tr>
			</table></td>
		<td class="table_right_side"></td>
	</tr>
	<tr>
		<td valign="middle" class="table_bottom_left">&nbsp;</td>
		<td height="17" valign="top" class="table_bottom_middle">&nbsp;</td>
		<td class="table_bottom_right">&nbsp;</td>
	</tr>
</table>
</body>
</html>
